<?php
$this->breadcrumbs=array(
	'Quản lý giá dịch vụ',
); 
?>
<h1>Giá dịch vụ</h1>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'GiadichvuUser-form',
	'enableClientValidation'=>true,
)); ?>
	<div class="right-box-item">
		<h1>Set giá dịch vu User</h1>
		<div style="margin:20px;">
			<?php echo $form->errorSummary($model); ?>
		
			<div class="row">
				<?php echo $form->labelEx($model,'iddichvu'); 
				echo $form->dropDownList($model,'iddichvu', $dichvu);
				 echo $form->error($model,'iddichvu');
				 ?>
				
			</div> 
		
			<div class="row">
				<?php echo $form->labelEx($model,'iduser'); 
				echo $form->dropDownList($model,'iduser', $users);
				 echo $form->error($model,'iduser');
				 ?>
				
			</div> 
		
			<div class="row">
				<?php echo $form->labelEx($model,'gia'); ?>
				<?php echo $form->textField($model,'gia'); ?>
				<?php echo $form->error($model,'gia'); ?>
			</div>
			<div class="row buttons">
				<?php echo CHtml::submitButton('Đồng ý'); ?>
			</div>
		</div>
	</div>
<?php $this->endWidget(); ?>
<br>
<form method='post' action='<?php echo $this->createUrl('dichvu/listgiauser');?>'
<div class="right-box-item">
<h1>Xem giá theo user</h1>
	<div style="margin:20px;">
	<div class="row">
		<?php echo $form->labelEx($model,'iduser'); 
		echo CHtml::dropDownList('iduser','', $users);
		 echo $form->error($model,'iduser');
		 ?>
		
	</div> 

	<div class="row buttons">
		<?php echo CHtml::submitButton('Xem'); ?>
	</div>
	</div></div>
</form>